public class Student {
    private String sno;
    private String sname;
    private String sgrade;

    public Student(String sno, String sname, String sgrade) {
        this.sno = sno;
        this.sname = sname;
        this.sgrade = sgrade;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSgrade() {
        return sgrade;
    }

    public void setSgrade(String sgrade) {
        this.sgrade = sgrade;
    }

    @Override
    public String toString() {
        return "{" +
                "sno:'" + sno + '\'' +
                ", sname:'" + sname + '\'' +
                ", sgrade:'" + sgrade + '\'' +
                '}';
    }
}
